home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Hypercard / HyperCard' More / T-Z / ZipCheck.cpt / zipCheck.docs < prev    next >
MacBinary  |  1989-02-26  |  2.5 KB  |  [TEXT/MSWD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Feb 26 13:56:32 1989, modified Sun Feb 26 13:56:32 1989, creator Microsoft Word, type ASCII, 1928 bytes "zipCheck.docs" , at 0x808 378 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSWD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 7a 69 70 43 68 65 | 63 6b 2e 64 6f 63 73 00 |..zipChe|ck.docs.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 57 | 44 01 00 00 00 00 00 00 |.TEXTMSW|D.......|
|00000050| 00 00 00 00 00 07 88 00 | 00 01 7a a0 2d f8 e0 a0 |........|..z.-...|
|00000060| 2d f8 e0 00 00 06 00 00 | 00 00 00 00 00 00 00 00 |-.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 41 b6 00 00 |........|....A...|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 0d 7a 69 70 43 68 | 65 63 6b 20 48 79 70 65 |==.zipCh|eck Hype|
|000000d0| 72 43 61 72 64 20 58 46 | 43 4e 0d a9 20 43 6f 70 |rCard XF|CN.. Cop|
|000000e0| 79 72 69 67 68 74 20 31 | 39 38 38 20 62 79 20 53 |yright 1|988 by S|
|000000f0| 61 6d 20 54 68 6f 72 6e | 74 6f 6e 0d 3d 3d 3d 3d |am Thorn|ton.====|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000110| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000130| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0d |========|======..|
|00000140| 7a 69 70 43 68 65 63 6b | 20 63 68 65 63 6b 73 20 |zipCheck| checks |
|00000150| 61 20 7a 69 70 63 6f 64 | 65 20 61 67 61 69 6e 73 |a zipcod|e agains|
|00000160| 74 20 61 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 |t a list| of the |
|00000170| 38 39 35 20 76 61 6c 69 | 64 20 33 2d 64 69 67 69 |895 vali|d 3-digi|
|00000180| 74 0d 7a 69 70 20 61 72 | 65 61 73 20 69 6e 20 74 |t.zip ar|eas in t|
|00000190| 68 65 20 35 30 20 73 74 | 61 74 65 73 20 28 61 73 |he 50 st|ates (as|
|000001a0| 20 6f 66 20 31 2f 38 38 | 29 20 61 6e 64 20 72 65 | of 1/88|) and re|
|000001b0| 74 75 72 6e 73 20 74 68 | 65 20 63 6f 72 72 65 63 |turns th|e correc|
|000001c0| 74 0d 73 74 61 74 65 20 | 61 62 62 72 65 76 69 61 |t.state |abbrevia|
|000001d0| 74 69 6f 6e 20 66 6f 72 | 20 74 68 65 20 74 61 72 |tion for| the tar|
|000001e0| 67 65 74 20 61 72 65 61 | 2e 0d 0d 54 68 65 20 7a |get area|...The z|
|000001f0| 69 70 63 6f 64 65 27 73 | 20 66 6f 72 6d 61 74 20 |ipcode's| format |
|00000200| 6d 75 73 74 20 62 65 20 | 65 69 74 68 65 72 20 35 |must be |either 5|
|00000210| 20 54 45 58 54 20 63 68 | 61 72 61 63 74 65 72 73 | TEXT ch|aracters|
|00000220| 20 28 65 2e 67 2e 2c 0d | 22 36 38 39 33 38 22 29 | (e.g.,.|"68938")|
|00000230| 2c 20 6f 72 20 31 30 20 | 54 45 58 54 20 63 68 61 |, or 10 |TEXT cha|
|00000240| 72 61 63 74 65 72 73 20 | 28 65 2e 67 2e 2c 20 22 |racters |(e.g., "|
|00000250| 36 38 39 33 38 2d 30 31 | 32 33 22 29 2e 0d 0d 49 |68938-01|23")...I|
|00000260| 66 20 74 68 65 72 65 20 | 69 73 20 65 69 74 68 65 |f there |is eithe|
|00000270| 72 20 61 20 66 6f 72 6d | 61 74 20 65 72 72 6f 72 |r a form|at error|
|00000280| 20 69 6e 20 74 68 65 20 | 65 6e 74 65 72 65 64 20 | in the |entered |
|00000290| 7a 69 70 63 6f 64 65 2c | 20 6f 72 20 69 66 0d 74 |zipcode,| or if.t|
|000002a0| 68 65 72 65 20 69 73 20 | 6e 6f 20 63 6f 72 72 65 |here is |no corre|
|000002b0| 73 70 6f 6e 64 69 6e 67 | 20 33 2d 64 69 67 69 74 |sponding| 3-digit|
|000002c0| 20 7a 69 70 20 61 72 65 | 61 2c 20 7a 69 70 43 68 | zip are|a, zipCh|
|000002d0| 65 63 6b 20 62 65 65 70 | 73 20 61 6e 64 0d 72 65 |eck beep|s and.re|
|000002e0| 74 75 72 6e 73 20 61 20 | 6e 75 6c 6c 20 73 74 72 |turns a |null str|
|000002f0| 69 6e 67 20 69 6e 73 74 | 65 61 64 20 6f 66 20 61 |ing inst|ead of a|
|00000300| 20 73 74 61 74 65 20 61 | 62 62 72 65 76 69 61 74 | state a|bbreviat|
|00000310| 69 6f 6e 2e 0d 0d 54 68 | 69 73 20 61 6c 6c 6f 77 |ion...Th|is allow|
|00000320| 73 20 79 6f 75 20 74 6f | 20 65 69 74 68 65 72 20 |s you to| either |
|00000330| 67 65 6e 65 72 61 74 65 | 20 63 6f 72 72 65 63 74 |generate| correct|
|00000340| 20 73 74 61 74 65 20 61 | 62 62 72 65 76 69 61 74 | state a|bbreviat|
|00000350| 69 6f 6e 73 0d 62 61 73 | 65 64 20 6f 6e 20 61 6e |ions.bas|ed on an|
|00000360| 20 65 6e 74 65 72 65 64 | 20 7a 69 70 63 6f 64 65 | entered| zipcode|
|00000370| 2c 20 6f 72 20 63 72 6f | 73 73 63 68 65 63 6b 20 |, or cro|sscheck |
|00000380| 7a 69 70 63 6f 64 65 73 | 20 61 67 61 69 6e 73 74 |zipcodes| against|
|00000390| 20 61 6e 0d 65 6e 74 65 | 72 65 64 20 73 74 61 74 | an.ente|red stat|
|000003a0| 65 20 61 62 62 72 65 76 | 69 61 74 69 6f 6e 2e 0d |e abbrev|iation..|
|000003b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003f0| 3d 3d 0d 53 79 6e 74 61 | 78 3a 0d 0d 20 20 20 20 |==.Synta|x:.. |
|00000400| 20 20 20 20 20 20 67 65 | 74 20 7a 69 70 43 68 65 | ge|t zipChe|
|00000410| 63 6b 28 3c 22 7a 69 70 | 63 6f 64 65 22 3e 29 3b |ck(<"zip|code">);|
|00000420| 20 6f 72 0d 0d 20 20 20 | 20 20 20 20 20 20 20 67 | or.. | g|
|00000430| 65 74 20 7a 69 70 43 68 | 65 63 6b 28 3c 66 69 65 |et zipCh|eck(<fie|
|00000440| 6c 64 20 22 66 69 65 6c | 64 6e 61 6d 65 22 3e 29 |ld "fiel|dname">)|
|00000450| 0d 0d 54 68 65 20 72 65 | 74 75 72 6e 20 69 73 20 |..The re|turn is |
|00000460| 74 68 65 20 63 6f 72 72 | 65 63 74 20 73 74 61 74 |the corr|ect stat|
|00000470| 65 20 61 62 62 72 65 76 | 69 61 74 69 6f 6e 20 66 |e abbrev|iation f|
|00000480| 6f 72 20 74 68 65 20 65 | 6e 74 65 72 65 64 0d 7a |or the e|ntered.z|
|00000490| 69 70 63 6f 64 65 20 6f | 72 2c 20 69 6e 20 74 68 |ipcode o|r, in th|
|000004a0| 65 20 63 61 73 65 20 6f | 66 20 61 6e 20 65 72 72 |e case o|f an err|
|000004b0| 6f 72 2c 20 61 6e 20 65 | 6d 70 74 79 20 73 74 72 |or, an e|mpty str|
|000004c0| 69 6e 67 2e 0d 0d 53 61 | 6d 70 6c 65 20 48 79 70 |ing...Sa|mple Hyp|
|000004d0| 65 72 43 61 72 64 20 73 | 63 72 69 70 74 20 28 66 |erCard s|cript (f|
|000004e0| 6f 72 20 61 20 7a 69 70 | 63 6f 64 65 20 65 6e 74 |or a zip|code ent|
|000004f0| 72 79 20 66 69 65 6c 64 | 29 3a 0d 0d 6f 6e 20 63 |ry field|):..on c|
|00000500| 6c 6f 73 65 46 69 65 6c | 64 0d 20 20 20 67 65 74 |loseFiel|d. get|
|00000510| 20 7a 69 70 43 68 65 63 | 6b 20 28 62 6b 67 6e 64 | zipChec|k (bkgnd|
|00000520| 20 66 69 65 6c 64 20 22 | 5a 69 70 43 6f 64 65 22 | field "|ZipCode"|
|00000530| 29 0d 20 20 20 69 66 20 | 69 74 20 69 73 20 6e 6f |). if |it is no|
|00000540| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 20 20 20 |t empty |then. |
|00000550| 20 20 20 70 75 74 20 69 | 74 20 69 6e 74 6f 20 62 | put i|t into b|
|00000560| 6b 67 6e 64 20 66 69 65 | 6c 64 20 22 53 74 61 74 |kgnd fie|ld "Stat|
|00000570| 65 22 0d 20 20 20 65 6c | 73 65 0d 20 20 20 20 20 |e". el|se. |
|00000580| 20 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 | put emp|ty into |
|00000590| 62 6b 67 6e 64 20 66 69 | 65 6c 64 20 22 5a 69 70 |bkgnd fi|eld "Zip|
|000005a0| 43 6f 64 65 22 0d 20 20 | 20 20 20 20 61 6e 73 77 |Code". | answ|
|000005b0| 65 72 20 22 53 6f 72 72 | 79 2c 20 65 6e 74 65 72 |er "Sorr|y, enter|
|000005c0| 65 64 20 7a 69 70 63 6f | 64 65 20 69 73 20 69 6e |ed zipco|de is in|
|000005d0| 76 61 6c 69 64 2e 2e 2e | 22 0d 20 20 20 65 6e 64 |valid...|". end|
|000005e0| 20 69 66 0d 20 20 20 70 | 61 73 73 20 63 6c 6f 73 | if. p|ass clos|
|000005f0| 65 46 69 65 6c 64 0d 65 | 6e 64 20 63 6c 6f 73 65 |eField.e|nd close|
|00000600| 46 69 65 6c 64 0d 0d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |Field..=|========|
|00000610| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000620| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000630| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000640| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0d 55 73 65 20 52 |========|=..Use R|
|00000650| 65 73 45 64 69 74 20 74 | 6f 20 69 6e 73 74 61 6c |esEdit t|o instal|
|00000660| 6c 20 7a 69 70 43 68 65 | 63 6b 20 69 6e 74 6f 20 |l zipChe|ck into |
|00000670| 61 6e 79 20 73 74 61 63 | 6b 2e 20 49 6e 73 74 61 |any stac|k. Insta|
|00000680| 6c 6c 69 6e 67 20 69 6e | 20 79 6f 75 72 0d 48 6f |lling in| your.Ho|
|00000690| 6d 65 20 73 74 61 63 6b | 20 77 69 6c 6c 20 6d 61 |me stack| will ma|
|000006a0| 6b 65 20 69 74 20 61 76 | 61 69 6c 61 62 6c 65 20 |ke it av|ailable |
|000006b0| 66 72 6f 6d 20 61 6c 6c | 20 6f 74 68 65 72 20 73 |from all| other s|
|000006c0| 74 61 63 6b 73 2e 0d 0d | 3d 3d 3d 3d 3d 3d 3d 3d |tacks...|========|
|000006d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000006e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000006f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000700| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 20 0d 0d 4d 61 79 |========|== ..May|
|00000710| 20 62 65 20 63 6f 70 69 | 65 64 20 26 20 64 69 73 | be copi|ed & dis|
|00000720| 74 72 69 62 75 74 65 64 | 20 77 69 74 68 6f 75 74 |tributed| without|
|00000730| 20 63 68 61 72 67 65 20 | 6f 6e 6c 79 2c 20 65 78 | charge |only, ex|
|00000740| 63 65 70 74 20 66 6f 72 | 20 6e 6f 6d 69 6e 61 6c |cept for| nominal|
|00000750| 0d 63 6f 70 79 69 6e 67 | 20 61 6e 64 20 64 69 73 |.copying| and dis|
|00000760| 74 72 69 62 75 74 69 6f | 6e 20 63 6f 73 74 73 2e |tributio|n costs.|
|00000770| 20 4e 6f 74 20 66 6f 72 | 20 63 6f 6d 6d 65 72 63 | Not for| commerc|
|00000780| 69 61 6c 20 73 61 6c 65 | 20 6f 72 20 72 65 73 61 |ial sale| or resa|
|00000790| 6c 65 2e 0d 53 65 65 20 | 74 68 65 20 22 7a 69 70 |le..See |the "zip|
|000007a0| 43 68 65 63 6b 2e 63 22 | 20 66 69 6c 65 20 66 6f |Check.c"| file fo|
|000007b0| 72 20 73 6f 75 72 63 65 | 20 6c 69 73 74 69 6e 67 |r source| listing|
|000007c0| 2e 20 20 0d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |. .====|========|
|000007d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000007e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000007f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000800| 3d 3d 3d 3d 3d 3d 20 0d | 00 00 00 00 00 00 00 00 |====== .|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 3c | 00 00 00 3c 00 00 00 3e |.......<|...<...>|
|00000890| 72 65 84 de 64 80 73 a9 | 09 04 01 b3 2d 53 72 cb |re..d.s.|....-Sr.|
|000008a0| 9f 04 7e 40 b7 91 44 58 | 04 85 b6 30 30 4e b0 1c |..~@..DX|...00N..|
|000008b0| 0d 7a 69 70 43 68 65 63 | 6b 2e 64 6f 63 73 02 00 |.zipChec|k.docs..|
|000008c0| 00 00 54 45 58 54 4d 53 | 57 44 01 06 00 00 00 a8 |..TEXTMS|WD......|
|000008d0| 00 00 54 45 58 54 4d 53 | 57 44 01 06 00 00 00 a8 |..TEXTMS|WD......|
|000008e0| 00 00 24 75 00 00 00 00 | 00 00 00 00 00 00 00 00 |..$u....|........|
|000008f0| 00 00 9f 7c 65 e0 00 00 | 07 88 00 00 01 7a 41 a1 |...|e...|.....zA.|
|00000900| ad 08 b4 1a e3 c3 14 d0 | c0 25 02 36 79 e4 52 1f |........|.%.6y.R.|
|00000910| 5e ee f1 79 96 b0 65 f7 | e3 9e da 0a da 10 20 fa |^..y..e.|...... .|
|00000920| 07 81 3e e0 02 c8 00 1f | 00 6d 5f 06 0c 49 53 bc |..>.....|.m_..IS.|
|00000930| 34 30 05 68 db 3a cc 14 | 40 94 ec 9a 70 39 e1 b0 |40.h.:..|@...p9..|
|00000940| 6b fe 01 18 01 9f 60 72 | 8e 02 3d dd 5d 00 7b 6c |k.....`r|..=.].{l|
|00000950| ef 02 55 42 c3 72 a8 5e | 7e 8b 05 20 1d 44 00 b2 |..UB.r.^|~.. .D..|
|00000960| 40 ac 4e 06 28 00 32 40 | 10 d0 e2 33 0c 16 01 18 |@.N.(.2@|...3....|
|00000970| 80 c4 f8 41 fd 6f 04 30 | 4e c8 00 54 3a a2 31 2a |...A.o.0|N..T:.1*|
|00000980| 00 00 00 38 01 01 08 00 | 00 56 03 31 2e 31 1e 46 |...8....|.V.1.1.F|
|00000990| 72 6f 6d 20 74 68 65 20 | 45 44 55 43 4f 52 50 20 |rom the |EDUCORP |
|000009a0| 43 6f 6c 6c 65 63 74 69 | 6f 6e 20 20 20 f4 42 67 |Collecti|on .Bg|
|000009b0| a9 98 42 27 a9 9b 42 6e | ff ee 0c 6e 00 00 01 00 |..B'..Bn|...n....|
|000009c0| 00 00 01 3c 00 00 00 3c | 00 00 00 3e 00 4d 16 00 |...<...<|...>.M..|
|000009d0| 08 16 00 00 00 1c 00 32 | 00 00 76 65 72 73 00 00 |.......2|..vers..|
|000009e0| 00 0a 00 02 00 00 00 00 | 00 00 00 4d 15 7c 0b 48 |........|...M.|.H|
|000009f0| 65 6c 6c 6f 20 54 68 65 | 72 65 00 00 00 00 00 00 |ello The|re......|
+--------+-------------------------+-------------------------+--------+--------+